package com.eshop.modules.user.service.dto;

import com.eshop.annotation.Query;

public class UserBillQueryCriteria {
    @Query(type = Query.Type.EQUAL)
    private String category = "";
    private String endTime;
    @Query(type = Query.Type.EQUAL)
    private String nickname = "";
    @Query(type = Query.Type.EQUAL)
    private Integer pm;
    private String startTime;
    @Query(type = Query.Type.EQUAL)
    private String title = "";
    @Query(type = Query.Type.EQUAL)
    private String type = "";

    /* access modifiers changed from: protected */
    public boolean canEqual(Object other) {
        return other instanceof UserBillQueryCriteria;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof UserBillQueryCriteria)) {
            return false;
        }
        UserBillQueryCriteria other = (UserBillQueryCriteria) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Integer this$pm = getPm();
        Integer other$pm = other.getPm();
        if (this$pm != null ? !this$pm.equals(other$pm) : other$pm != null) {
            return false;
        }
        String this$nickname = getNickname();
        String other$nickname = other.getNickname();
        if (this$nickname != null ? !this$nickname.equals(other$nickname) : other$nickname != null) {
            return false;
        }
        String this$category = getCategory();
        String other$category = other.getCategory();
        if (this$category != null ? !this$category.equals(other$category) : other$category != null) {
            return false;
        }
        String this$type = getType();
        String other$type = other.getType();
        if (this$type != null ? !this$type.equals(other$type) : other$type != null) {
            return false;
        }
        String this$title = getTitle();
        String other$title = other.getTitle();
        if (this$title != null ? !this$title.equals(other$title) : other$title != null) {
            return false;
        }
        String this$startTime = getStartTime();
        String other$startTime = other.getStartTime();
        if (this$startTime != null ? !this$startTime.equals(other$startTime) : other$startTime != null) {
            return false;
        }
        String this$endTime = getEndTime();
        String other$endTime = other.getEndTime();
        return this$endTime != null ? this$endTime.equals(other$endTime) : other$endTime == null;
    }

    public int hashCode() {
        int i = 43;
        Integer $pm = getPm();
        int hashCode = $pm == null ? 43 : $pm.hashCode();
        String $nickname = getNickname();
        int i2 = (hashCode + 59) * 59;
        int hashCode2 = $nickname == null ? 43 : $nickname.hashCode();
        String $category = getCategory();
        int i3 = (i2 + hashCode2) * 59;
        int hashCode3 = $category == null ? 43 : $category.hashCode();
        String $type = getType();
        int i4 = (i3 + hashCode3) * 59;
        int hashCode4 = $type == null ? 43 : $type.hashCode();
        String $title = getTitle();
        int i5 = (i4 + hashCode4) * 59;
        int hashCode5 = $title == null ? 43 : $title.hashCode();
        String $startTime = getStartTime();
        int i6 = (i5 + hashCode5) * 59;
        int hashCode6 = $startTime == null ? 43 : $startTime.hashCode();
        String $endTime = getEndTime();
        int i7 = (i6 + hashCode6) * 59;
        if ($endTime != null) {
            i = $endTime.hashCode();
        }
        return i7 + i;
    }

    public void setCategory(String category2) {
        this.category = category2;
    }

    public void setEndTime(String endTime2) {
        this.endTime = endTime2;
    }

    public void setNickname(String nickname2) {
        this.nickname = nickname2;
    }

    public void setPm(Integer pm2) {
        this.pm = pm2;
    }

    public void setStartTime(String startTime2) {
        this.startTime = startTime2;
    }

    public void setTitle(String title2) {
        this.title = title2;
    }

    public void setType(String type2) {
        this.type = type2;
    }

    public String toString() {
        return "UserBillQueryCriteria(nickname=" + getNickname() + ", category=" + getCategory() + ", type=" + getType() + ", pm=" + getPm() + ", title=" + getTitle() + ", startTime=" + getStartTime() + ", endTime=" + getEndTime() + ")";
    }

    public String getNickname() {
        return this.nickname;
    }

    public String getCategory() {
        return this.category;
    }

    public String getType() {
        return this.type;
    }

    public Integer getPm() {
        return this.pm;
    }

    public String getTitle() {
        return this.title;
    }

    public String getStartTime() {
        return this.startTime;
    }

    public String getEndTime() {
        return this.endTime;
    }
}
